package main

import "fmt"

var arg7 int = 7
var arg8 = 8

// arg8:=8  //编译报错

func main() {
	var arg0 int = 0
	var arg1 = 1
	arg2 := 2
	var (
		arg3 int     = 3
		arg4 float32 = 4.44
	)

	var (
		arg5, arg6 = 5, 6.66 //混合赋值
	)

	arg9 := 0
	arg9, arg10 := 9, 10 //为arg9退化成赋值

	fmt.Println("use var arg:", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
}
